package com.niit.springdemo001.dao.impl;

public class Custmor {
    String cname;
    int cid;
    Address address;
    public Custmor(){
       
    }


    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    public int getCid() {
        return cid;
    }

    public void setCid(int cid) {
        this.cid = cid;
    }


    public void display()
    {
        System.out.println(cid+" " + cname);
        System.out.println(address);
    }

    public Address getAddress() {
        return address;
    }

    public void setAddress(Address address) {
        this.address = address;
    }
}
